package com.butterfly.hotkey.core.model;

/**
 * @author butterfly
 * @since 2024/11/1
 */
public class KeyCountModel {

    /**
     * ruleKey
     */
    private String ruleKey;

    /**
     * 访问总数
     */
    private long totalCount;

    /**
     * 热key的数量
     */
    private long hotCount;

    /**
     * 发送时的时间
     */
    private long createTime;

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }

    public long getHotCount() {
        return hotCount;
    }

    public void setHotCount(long hotCount) {
        this.hotCount = hotCount;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getRuleKey() {
        return ruleKey;
    }

    public void setRuleKey(String ruleKey) {
        this.ruleKey = ruleKey;
    }
}
